﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FeaturesBlog.Models.Interfaces
{
    public interface IPostRepository
    {
        Post GetPost(decimal postId);
        
        IEnumerable<Post> GetPosts(int currentPage, int pageSize);
        
        int GetPostsCount();
        
        void AddPost(Post p);
        
        void EditPost(Post p);

        void DeletePost(decimal postId);
    }
}
